import * as React from 'react'
import {message, notification} from 'antd'

// 使用泛型来灵活化sate和props的interface
export class ComponentExt<P = {}, S = {}>extends React.Component<P, S> {
    $message = message
    $notification = notification
}